package com.easygoods.request;


import com.bestvike.stone.spring.exception.AssertUtils;
import com.bestvike.stone.spring.rest.IRequest;
import lombok.Data;

@Data
public class OrderSendRequest implements IRequest {
    private String orderId;
    private String expressId;
    private String expressOrderId;

    @Override
    public void assertValid() {
        AssertUtils.hasText(this.orderId, "orderId");
        AssertUtils.hasText(this.expressId, "expressId");
        AssertUtils.hasText(this.expressOrderId, "expressOrderId");
    }
}
